<?php
include "includeFiles.php";
include "page.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $C['Title'];?></title>
<Link href="../uploadfile/ico/<?php echo $C['ICO'];?>" rel="Shortcut Icon">
<meta name="Keywords" content="<?php echo $C['Keywords'];?>">
<meta name="description" content="<?php echo $C['Description'];?>">
<Meta name="Copyright" Content="<?php echo $C['CopyRight'];?>">
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link charset="utf-8" rel="stylesheet" href="css/alipay.css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
</head>
<body id="mainbody">
<?php include_once('header.php');?>
<!--#头部导航--> 
<!--主体布局-->
<div class="main">
  <div class="locahostDIv"> <span>当前位置：<a href="index.php">首页</a></span> > <a href="#">2G号码套包</a> </div>
  <div class="mb_10 bord5">
    <div class="J-tit7">
      <FORM o method='get' action=''>
      <DIV id=searchbar sizcache="2" sizset="1">
        <DIV class=keytitle>搜索靓号：</DIV>
        <DIV style="DISPLAY: none; MARGIN-RIGHT: 0px" class="xiala w1" jQuery1336469970333="111"><SPAN class=text><SPAN class=searchselect data-value="key" data-type="queryName">全文搜索</SPAN></SPAN>
          <DIV class="selecttext hc" sizcache="0" sizset="0"><A href="javascript:void(0);" data-value="key" data-msg="职位名称或公司名称" jQuery1336469970333="112">全文搜索</A> <A href="javascript:void(0);" data-value="gongsimingcheng" jQuery1336469970333="113">公司名称</A> </DIV>
          <DIV class="ln hc"></DIV>
        </DIV>
        <FORM onsubmit="b_query();return false;" sizcache="2" sizset="1">
          <SPAN class=text1 sizcache="2" sizset="1">
          <INPUT style="WIDTH: 455px; BACKGROUND-POSITION: left 0px; COLOR: #999" id=keyword1 onkeyup=win1.GetContentData(); maxLength=30 name=number autocomplete="off" para="key" fdv="请输入职位名称或公司名称" data-fdv="true">
          </SPAN> <SPAN class=btn>
          <INPUT style="MARGIN-LEFT: 0px" id=searchbtn1 onclick=b_query(); value=搜本类 type=submit>
          </SPAN>
      </FORM>
        <SPAN class=btn>
        <INPUT style="BACKGROUND-POSITION: 0px -114px; COLOR: #000; MARGIN-LEFT: 0px" id=searchbtn2 onclick=b_query_zp(); value=搜全部 type=submit>
        </SPAN><I class=clr></I></DIV>
        </FORM>
    </div>
    <div class="mb_10 bord5">
      <DIV class=jls>
        
          <UL id=lg_head class=clearfix>
            <LI class=tw20>号码</LI>
            <LI class=tw21>选号费</LI>
            <li class=tw20>号码</li>
            <LI class=tw21>选号费</LI>
            <LI class=tw20>号码</LI>
            <LI class=tw21>选号费</LI>
          </UL>
          <?php
		        if($number) $con = " and Serial_number like '%$number%'";
		  
				$SQL="SELECT * FROM `hy_b_3g`  where 1 $con ";
				$result=mysql_query($SQL);
				$total=mysql_num_rows($result);
				//调用pageft()，每页显示10条信息（使用默认的20时，可以省略此参数），使用本页URL（默认，所以省略掉）。
				_PAGEFT($total,30);
				if($total==0) echo "<h3>对不起！没有相关资料</h3>";
				  $SQL2=$SQL."  $condition   limit $firstcount,$displaypg  ";
				$result=mysql_query($SQL2);
				$i =1;
				while($value=mysql_fetch_array($result)){
     if($i == 1 || $i == 4 || $i == 7|| $i == 10||$i == 13 || $i == 16|| $i == 19 || $i == 22 || $i == 25|| $i == 28||$i == 33 || $i == 36|| $i == 39){
				?>
          <DIV class="lg_list stick  clearfix">
            <ul class=post_require>
              <? } ?>
              <li class="tw23"><A href="3glist.php?id=<?=$value['SpecialCateID']?>&cityid=<?=$cityid?>">
                <?=$value['Serial_number']?>
                </A> </li>
              <li class=tw24>
                <?=$value['Fee_code_fee']?>
              </li>
              <? if($i == 3 || $i == 6|| $i == 9||$i == 12 || $i == 15|| $i == 18 || $i == 21 || $i == 24 || $i == 27||$i == 30 || $i == 33|| $i == 36){
				?>
            </ul>
            <DIV id=jobsdetail42392 class="tw6 clearfix tr1"></DIV>
          </DIV>
          <? }?>
          <? $i++; }?>
      </DIV>
      <DIV id=pages> <?php echo $pagenav; ?></DIV>
    </div>
  </div>
  <div class="gehang"></div>
  <div style="width:980px;height:100%;overflow:hidden;margin-top:10px"> <img src="images/copy_line.jpg" /><br />
    <br />
    <br />
    <img src="images/copy.jpg" />
    <?php include_once('help.php');?>
    <img src="images/copy_line.jpg" /> </div>
</div>
<div class="clear"></div>
<?php include_once('footer.php');?>
</body>
</html>
